package com.uzai.console.dto.wechatprivate.devicewechatinfo;

import com.uzai.common.enums.DeviceTypeEnum;
import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author liuqi
 * @date 2021年09月17日 19:17
 */
@ApiModel("个人机器人授权参数")
public class DeviceWechatInfoBuyAuthDto extends BaseDto {
    @ApiModelProperty("机器人唯一idList")
    private List<Long> idList;
    @ApiModelProperty("续费设备类型（0-PC端；1-移动端")
    private Integer deviceTypeId;
    @ApiModelProperty("授权类型(1月卡;2年卡)")
    private Integer authType;
    @ApiModelProperty("购买数量")
    private Integer quantity;
    @ApiModelProperty("支付方式(1卡密支付；2支付宝; 4-余额支付)")
    private Integer payType;
    @ApiModelProperty("卡密List")
    private List<String> cardList;
    @ApiModelProperty("购买功能编码")
    private String productCode;

    public List<Long> getIdList() {
        return idList;
    }

    public void setIdList(List<Long> idList) {
        this.idList = idList;
    }

    public Integer getAuthType() {
        return authType;
    }

    public void setAuthType(Integer authType) {
        this.authType = authType;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public List<String> getCardList() {
        return cardList;
    }

    public void setCardList(List<String> cardList) {
        this.cardList = cardList;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Integer getDeviceTypeId() {
        //强制设置为0-电脑端
        return DeviceTypeEnum.DT_PC_WECHAT.getId();
    }

    public void setDeviceTypeId(Integer deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
    }
}
